var router=require('express').Router();
module.exports = router;
router.get('/',(req,res)=>{
    req.session.destroy();
    //res.clearCookie('username');
    res.redirect('/');
});